import request from '@/utils/request'

// 科室列表
export function apiLists(params: any) {
    return request.get({ url: '/room.Department/lists', params })
}

// 添加科室
export function apiAdd(params: any) {
    return request.post({ url: '/room.Department/add', params })
}

// 编辑科室
export function apiEdit(params: any) {
    return request.post({ url: '/room.Department/edit', params })
}

// 删除科室
export function apiDelete(params: any) {
    return request.post({ url: '/room.Department/delete', params })
}

// 科室详情
export function apiDetail(params: any) {
    return request.get({ url: '/room.Department/detail', params })
}

// 科室状态
export function updateStatus(params: any) {
    return request.post({ url: '/room.Department/updateStatus', params })
}

export function campusAll(params: any) {
    return request.post({ url: '/room.Department/campusAll', params })
}

